package cn.qingyun.gis.modules.baogan.mapper;

import cn.qingyun.gis.modules.baogan.entity.MicroStreetAuditLog;
import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;


import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface MicroStreetAuditLogMapper extends BaseMapper<MicroStreetAuditLog> {
    boolean adjustBoundary(@Param("record") MicroStreetAuditLog record);

    @DS("scenes_offensive")
    MicroStreetAuditLog selectOneByStreetId(@Param("id") String id);

    void addAuditLog(@Param("record") MicroStreetAuditLog record);

    /**
     * 更新审核日志
     * @param record
     */
    void updateByStreetId(@Param("record") MicroStreetAuditLog record);
}
